package com.qingcloud.adminbackend.entity.aline;


import com.qingcloud.adminbackend.entity.mqtt.detail.MqttTopic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * MQTT登录信息参数指令下发DTO对象
 */
@Data
public class MqttSetCommandDTO implements Serializable {

    @ApiModelProperty(value = "设备编号列表", example = "1190100001")
    private List<String> equipmentIds;

    @ApiModelProperty(value = "IP或者域名", example = "wmmqtt.com")
    private String host;

    @ApiModelProperty(value = "端口", example = "1883")
    private Integer port;

    @ApiModelProperty(value = "客户端ID", example = "1190100001")
    private String clientId;

    @ApiModelProperty(value = "登录用户名", example = "username")
    private String userName;

    @ApiModelProperty(value = "登录密码", example = "password")
    private String password;

    @ApiModelProperty(value = "设置Topic对象", example = "'devInfo':'aaa','dataPost':'bbb'")
    private MqttTopic topic;

}
